package com.wang.animalkingdom;

import java.util.Scanner;

public class CacheData {
    static Animal[] animals = new Animal[3];
    static {
        animals[0] = new Cat("加菲猫",4);
        animals[1] = new Duck("唐老鸭",2);
        animals[2] = new Dolphin("海豚奇奇");
    }
}
